﻿using SqlSugar;

namespace FastEasy.Model.Models
{
    ///<summary>
    ///权限信息表
    ///</summary>
    [SugarTable("PowerInfo")]
    public partial class PowerInfo
    {
        public PowerInfo()
        {
        }

        /// <summary>
        /// Desc:编号
        /// Default:
        /// Nullable:False
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:权限ID
        /// Default:
        /// Nullable:False
        /// </summary>
        public int PowerID { get; set; }

        /// <summary>
        /// Desc:权限名称
        /// Default:
        /// Nullable:False
        /// </summary>
        public string PowerName { get; set; }

        /// <summary>
        /// Desc:权限描述
        /// Default:
        /// Nullable:False
        /// </summary>
        public string PowerDescription { get; set; }

        /// <summary>
        /// Desc:创建日期 默认为当前时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// Desc:修改日期 默认为当前时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>
        public DateTime? UpdateDate { get; set; }
    }
}